using Godot;
using System;

public partial class Change2 : Node2D
{
    [Export] AnimationPlayer animationPlayer;
    public override void _Ready()
    {
        animationPlayer.Play("changges");
        animationPlayer.AnimationFinished += animsfinsih;
    }
     void animsfinsih(StringName animationName)
    {
    GetTree().ChangeSceneToFile("res://assent/tscn/one.tscn");

    }

}
